package com.ppt.android.bean

import com.google.gson.annotations.SerializedName

data class VisionRequest(
    val requests: List<ImageRequest>
)

data class ImageRequest(
    val image: ImageData,
    val features: List<Feature>
)

data class ImageData(
    val content: String // Base64 编码的图片
)

data class Feature(
    val type: String,
    @SerializedName("maxResults")
    val maxResults: Int = 10
)

data class VisionResponse(
    val responses: List<AnnotateImageResponse>
)

data class AnnotateImageResponse(
    @SerializedName("safeSearchAnnotation")
    val safeSearchAnnotation: SafeSearchAnnotation?
)

data class SafeSearchAnnotation(
    val adult: String,
    val spoof: String,
    val medical: String,
    val violence: String,
    val racy: String
)